#ifndef HEADER_H_INCLUDED
#define HEADER_H_INCLUDED

#include <iostream>
#include <stdio.h>
#include <string.h>
#include <time.h>
#include <stdlib.h>

using namespace std;

struct BinaryTreeNode
{
    int                    m_nValue;
    BinaryTreeNode*        m_pLeft;
    BinaryTreeNode*        m_pRight;
};


//struct ListNode
//{
//    int         m_nValue;
//    ListNode*   next;
//};

 BinaryTreeNode* CreateBinaryTreeNode(int value);
 void ConnectTreeNodes(BinaryTreeNode* pParent, BinaryTreeNode* pLeft, BinaryTreeNode* pRight);
 void PrintTreeNode(BinaryTreeNode* pNode);
 void PrintTree(BinaryTreeNode* pRoot);
 void DestroyTree(BinaryTreeNode* pRoot);


#endif // HEADER_H_INCLUDED
